package com.ruoyi.department.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.department.mapper.DepartmentManageMapper;
import com.ruoyi.department.domain.DepartmentManage;
import com.ruoyi.department.service.IDepartmentManageService;

/**
 * 部门管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2024-08-01
 */
@Service
public class DepartmentManageServiceImpl implements IDepartmentManageService
{
    @Autowired
    private DepartmentManageMapper t05Mapper;

    /**
     * 查询部门管理
     * 
     * @param F0501 部门管理主键
     * @return 部门管理
     */
    @Override
    public DepartmentManage selectDepartmentManageByF0501(Long F0501)
    {
        return t05Mapper.selectDepartmentManageByF0501(F0501);
    }

    /**
     * 查询部门管理列表
     * 
     * @param t05 部门管理
     * @return 部门管理
     */
    @Override
    public List<DepartmentManage> selectDepartmentManageList(DepartmentManage t05)
    {
        return t05Mapper.selectDepartmentManageList(t05);
    }

    /**
     * 新增部门管理
     * 
     * @param t05 部门管理
     * @return 结果
     */
    @Override
    public int insertDepartmentManage(DepartmentManage t05)
    {
        return t05Mapper.insertDepartmentManage(t05);
    }

    /**
     * 修改部门管理
     * 
     * @param t05 部门管理
     * @return 结果
     */
    @Override
    public int updateDepartmentManage(DepartmentManage t05)
    {
        return t05Mapper.updateDepartmentManage(t05);
    }

    /**
     * 批量删除部门管理
     * 
     * @param F0501s 需要删除的部门管理主键
     * @return 结果
     */
    @Override
    public int deleteDepartmentManageByF0501s(Long[] F0501s)
    {
        return t05Mapper.deleteDepartmentManageByF0501s(F0501s);
    }

    /**
     * 删除部门管理信息
     * 
     * @param F0501 部门管理主键
     * @return 结果
     */
    @Override
    public int deleteDepartmentManageByF0501(Long F0501)
    {
        return t05Mapper.deleteDepartmentManageByF0501(F0501);
    }
}
